package org.opentcs.kcvehicle.communication.kc.common;


public class RcvPackage {

  private boolean isOk;
  private Object value;
  private String content;

  public RcvPackage(boolean isOk, Object value, String content) {
    this.isOk = isOk;
    this.value = value;
    this.content = content;
  }

  public RcvPackage() {
  }

  public boolean isOk() {
    return isOk;
  }

  public void setValue(Object value) {
    this.value = value;
  }

  public Object getValue() {
    return value;
  }

  public String getContent() {
    return content;
  }


  @Override
  public String toString() {
    return "RcvPackage{" +
        "isOk=" + isOk +
        ", value=" + value +
        ", content='" + content + '\'' +
        '}';
  }
}
